//
//  XCell.swift
//  CellRegisterDemo
//
//  Created by 李煜 on 2024/4/24.
//

import UIKit

class XCell: UITableViewCell {
    static let cell_id = "XCell"

    var label: UILabel = UILabel()
    override func awakeFromNib() {
        super.awakeFromNib()
    }

    override init(style: UITableViewCell.CellStyle,
                  reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        contentView.addSubview(label)
        label.text = "abc"
    }

    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
}
